package request

type ShareCreateReq struct {
	BucketName    string `json:"bucket_name" binding:"required"`
	CatalogueName string `json:"catalogue_name" binding:"required"`
	ObjectName    string `json:"object_name" binding:"required"`
	Expiration    int64  `json:"expiration" binding:"required"`
}

type ListsResp struct {
	Id         int64  `json:"id"`
	UserID     int64  `json:"user_id"`
	ShareName  string `json:"object_name"`
	Expiration int64  `json:"expiration"`
	ShareURL   string `json:"share_url"`
	CreateAt   string `json:"create_at"`
}

type ListShareReq struct {
	Limit int64 `json:"limit" form:"limit" binding:"required"`
	Page  int64 `json:"page" form:"page" binding:"required"`
}
